package com.xyebank.ledger.vo.mq;

import java.io.Serializable;

public class MsgMqVo implements Serializable {
	private static final long	serialVersionUID	= -4104489532664198068L;
	/**
	 * 消息类型
	 */
	private MqTypeEnum			mType;
	/**
	 * 消息体
	 */
	private Object				mContent;



	/**
	 * @return the type
	 */
	public MqTypeEnum getType() {
		return mType;
	}



	/**
	 * @param pType
	 *            the type to set
	 */
	public void setType(MqTypeEnum pType) {
		mType = pType;
	}



	/**
	 * @return the content
	 */
	public Object getContent() {
		return mContent;
	}



	/**
	 * @param pContent
	 *            the content to set
	 */
	public void setContent(Object pContent) {
		mContent = pContent;
	}



	/**
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "MsgMqVo [mType=" + mType + ", mContent=" + mContent + "]";
	}



	public MsgMqVo() {
		super();
	}



	public MsgMqVo(MqTypeEnum pType, Object pContent) {
		super();
		mType = pType;
		mContent = pContent;
	}
}
